package com.kennedy.springbootjpa.beans.user;

import com.kennedy.springbootjpa.beans.common.BaseEntity;

import javax.persistence.Entity;

/**
 * Created by tao.zeng on 2017/8/2.
 */
@Entity
public class SysRole extends BaseEntity {
    private String name; // 角色名

    public SysRole() {
    }

    public SysRole(Long id, String name) {
        super.setId(id);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
